import {
  createApp
} from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import 'assets/iconfont/iconfont.css'

import Antd from 'ant-design-vue';
import 'ant-design-vue/dist/antd.css';

//markdown
import VMdEditor from '@kangc/v-md-editor';
import VMdPreview from '@kangc/v-md-editor/lib/preview';
import '@kangc/v-md-editor/lib/style/base-editor.css';
import githubTheme from '@kangc/v-md-editor/lib/theme/github.js';
import '@kangc/v-md-editor/lib/theme/style/github.css';

VMdEditor.use(githubTheme);
VMdPreview.use(githubTheme);

const app = createApp(App)

app
  .use(VMdPreview)
  .use(VMdEditor)
  .use(Antd)
  .use(store)
  .use(router)
  .mount('#app')